﻿/*!
 * file : gridx.css
 * gitee : 
 * github : 
 * author : 百小僧/MonkSoul
 * version : v3.0.0
 * create time : 2018.06.15
 * update time : 2018.06.22
 */

*[class^="gridx-"], *[class^="gridx-"]::after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.gridx-flexbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
}

.gridx-flexrow {
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-flow: row;
    flex-flow: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    width: 100%;
}

.gridx-flexcol {
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-flow: column;
    flex-flow: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    height: 100%;
}

.gridx-flexauto {
    flex: 1;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
}

.gridx-flex-align-vertical {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
}

.gridx-user-select-none {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.gridx-iconfont {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
    font-size: 14px;
    line-height: normal;
    display: block;
    line-height: normal;
}

.gridx-panel {
    position: relative;
    overflow: hidden;
}

    .gridx-panel.gridx-panel-border {
        border: 1px solid #dfdfdf;
    }

.gridx-head {
    background-color: #eeeef2;
    position: relative;
    overflow: hidden;
}

.gridx-table {
    table-layout: fixed;
    position: relative;
    overflow: auto;
    word-wrap: break-word;
    word-break: break-all;
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
}

.gridx-panel .gridx-th {
    font-weight: normal;
    font-size: 13px;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    vertical-align: middle;
    color: #000;
    cursor: default;
    position: relative;
    display: table-cell;
}

    .gridx-panel .gridx-th[data-hidden='1'] {
        display: none;
    }

.gridx-thead {
    display: table-header-group;
}

.gridx-tbody {
    display: table-row-group;
}

.gridx-tfoot {
    display: table-footer-group;
}

.gridx-tr {
    height: 28.5px;
    display: table-row;
}

.gridx-left-fix,
.gridx-right-fix {
    position: relative;
    z-index: 2;
}

.gridx-left-fix {
    position: relative;
    /*box-shadow: 0 -1px 8px rgba(0,0,0,0.08);
    -webkit-box-shadow: 0 -1px 8px rgba(0,0,0,0.08);
    -moz-box-shadow: 0 -1px 8px rgba(0,0,0,0.08);*/
}

    .gridx-left-fix::after {
        position: absolute;
        content: '';
        border-right: 1px solid #dfdfdf;
        height: 100%;
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }

.gridx-right-fix {
    position: relative;
    /*box-shadow: -1px 0 8px rgba(0,0,0,0.08);
    -webkit-box-shadow: -1px 0 8px rgba(0,0,0,0.08);
    -moz-box-shadow: -1px 0 8px rgba(0,0,0,0.08);*/
}

    .gridx-right-fix::after {
        position: absolute;
        content: '';
        border-left: 1px solid #dfdfdf;
        height: 100%;
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        right: 0;
        top: 0;
    }

.gridx-head
.gridx-left-fix {
    background-color: #eeeef2;
}

.gridx-body {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.gridx-shade {
    position: absolute;
    background-color: transparent;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: none;
}

    .gridx-shade[data-handle="1"] {
        display: block;
    }

.gridx-load-text {
    position: absolute;
    height: 30px;
    line-height: 30px;
    top: 0;
    padding: 0 5px;
    left: 0;
    right: 0;
    background-color: #c9def5 !important;
    font-size: 13px;
}

.gridx-head-scroll, .gridx-body-scroll {
    overflow: auto;
    position: relative;
    max-height: 100%;
}

.gridx-head-scroll {
    overflow: hidden;
}

.gridx-panel .gridx-td {
    font-weight: normal;
    font-size: 13px;
    border-right: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
    vertical-align: middle;
    color: #101010;
    cursor: default;
    position: relative;
    display: table-cell;
}

    .gridx-panel .gridx-td[data-hidden='1'] {
        display: none;
    }

.gridx-panel .gridx-body .gridx-tr.gridx-tr-even {
    background-color: #fcfdfe;
}

.gridx-checkbox {
    vertical-align: middle;
    display: block;
    margin: 0 auto;
}

.gridx-text {
    padding-right: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 4px;
    min-width: 100%;
}

.gridx-th-row-number .gridx-text {
    visibility: hidden;
    color: #666;
}

.gridx-td-row-number,
.gridx-th-row-number {
    background-color: #eeeef2;
}


.gridx-panel .gridx-tr[data-mouseover="1"] {
    background-color: #ecf0f1 !important;
}

.gridx-panel .gridx-tr[data-click="1"] {
    background-color: #c9def5 !important;
}

.gridx-resize {
    position: absolute;
    right: 0;
    width: 4px;
    top: 0;
    bottom: 0;
    z-index: 1;
    cursor: col-resize;
}

.gridx-sort {
    position: absolute;
    right: 6px;
    top: 0;
    bottom: 0;
    z-index: 1;
    visibility: hidden;
}

    .gridx-sort[data-sort="asc"], .gridx-sort[data-sort="desc"] {
        visibility: visible;
    }

    .gridx-sort .gridx-iconfont {
        font-size: 20px;
        color: #666;
    }

.gridx-foot {
    min-height: 20px;
    border-top: 1px solid #dfdfdf;
    padding: 5px 10px;
    font-size: 13px;
    color: #000;
    background-color: #eeeef2;
    line-height: normal;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.gridx-page-center {
    float: left;
}

.gridx-page-right {
    float: right;
    color: #999;
    margin-left: 20px;
}

.gridx-foot .gridx-select {
    background-color: #eeeef2;
    border: none;
    outline: none;
    color: #999;
}

.gridx-foot .gridx-label {
    vertical-align: middle;
    display: inline-block;
    color: #999;
}

.gridx-page-center .gridx-label {
    margin-right: 10px;
    color: #444;
    cursor: pointer;
}

    .gridx-page-center .gridx-label[data-disabled="1"] {
        color: #999;
        cursor: default;
    }

    .gridx-page-center .gridx-label:hover {
        text-decoration: underline;
    }

    .gridx-page-center .gridx-label[data-disabled="1"] {
        text-decoration: none;
    }

.gridx-pagesize-options {
    display: inline-block;
}
